//
//  SpotModel.m
//  CivilianTravel
//
//  Created by 许仕杰 on 16/7/15.
//  Copyright © 2016年 许仕杰. All rights reserved.
//

#import "SpotModel.h"

@implementation SpotModel
- (void)setValue:(id)value forUndefinedKey:(NSString *)key{
    if ([key isEqualToString:@"id"]) {
        self.ID = value;
    }
}

- (void)setValue:(id)value forKey:(NSString *)key {
    if ([key isEqualToString:@"ptags"]) {
        self.ptags = value;
    }else{
        [super setValue:value forKey:key];
    }
}
@end
